package extractors;

import java.util.List;

import primitive.Article;

public interface SimilarityMeasure {
	public double similarity(Article art1, Article art2);
	
	// This method was add, because NearestNeighborAlgorithm class needs compatibility 
	//	among Extractor and SimilarityMeasure objects.
	public void setTrainingData(List<Article> trainingData);
	
	// This method is required by NearestNeighbourAlgorithm class as well as setTrainingData =)
	public List<Article> getTrainingData();
}
